package com.lujieni.provider.service.impl;

import com.lujieni.provider.dao.StudentDao;
import com.lujieni.provider.po.StudentPO;
import com.lujieni.provider.service.IStudentService;
import com.lujieni.shared.dto.StudentDTO;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class StudentService implements IStudentService {

    @Autowired
    private StudentDao studentDao;
    @Override
    public List<StudentPO> findAllStudent() {
        return studentDao.selectAll();
    }
}
